<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8"> 
	<title>菜鸟教程(runoob.com)</title> 
	<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">  
	<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
	<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
	<div class="container">
        <h2>实例</h2>
        <p>.caret类显示了一个下拉功能：</p>
        <p>.caret类在按钮中使用</p>
        <div class="btn-group">
            <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Menu</button>
            <ul class="dropdown-menu" role="menu">
                <li>
                    <a href="http://www.baidu.com">一个链接</a>
                    <a href="#"> 另一个链接</a>
                    <a href="#">其他功能</a>
                </li>

            </ul>
        </div>
        <br>
        <br>
        <br>
        <p>关闭图标示例
            <button type="button" class="close" aria-hidden="true">x</button>
        </p>
        <br>
        <br>
        <br>
        
            <p>插入符实例
              <span class="caret"></span>
             </p>
    
    </div>

</div>

</body>
</html>